 package querycenter;
 
 import com.querycenter.mapper.Querymapper;
 import com.querycenter.model.SelectModel;
import com.querycenter.model.Uoid;

import java.io.PrintStream;
 import java.util.List;
 import org.springframework.context.ApplicationContext;
 import org.springframework.context.support.ClassPathXmlApplicationContext;
 
 public class Test
 {
   public static void main(String[] args)
   {
     ApplicationContext ctx = new ClassPathXmlApplicationContext("applicationContext.xml");
 
     Querymapper bd = (Querymapper)ctx.getBean("querymapper");
     Uoid u=new Uoid();
u.setOid(1);
u.setUid(1);

//bd.getSelectedByDefult(u);
System.out.println(bd.getSelectedByDefult(u));
   }
 }

